package com.kefu.exam.model;

import java.io.Serializable;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xy
 * @date 2022/02/28
 */
@Data
@TableName(value="exam_paper_subject")
@ApiModel(description = "")
public class ExamPaperSubject implements Serializable{

	private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
	@TableId(value="id",type=IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 试题分数
     */
    @TableField(value="point")
    @ApiModelProperty(value = "试卷中的分数")
    private Integer point;

    /**
     * 排序
     */
    @TableField(value="sort")
    @ApiModelProperty(value = "排序")
    private Integer sort;

    /**
     * 问卷ID
     */
    @TableField(value="paper_id")
    @ApiModelProperty(value = "试卷ID")
    private String paperId;

    /**
     * 问卷名称
     */
    @TableField(value="paper_name")
    @ApiModelProperty(value = "问卷名称")
    private String paperName;

    /**
     * 试题ID
     */
    @TableField(value="subject_id")
    @ApiModelProperty(value = "试题ID")
    private String subjectId;
}